The system of glands that produce endocrine secretions that help to control bodily metabolic activity